package gui;

import java.awt.Color;
import javax.swing.JLabel;
import javax.swing.JPanel;

public class StatusBar extends JPanel{
    private JLabel status;
    public static StatusBar instance = new StatusBar();
    
    private StatusBar(){
        status = new JLabel();
        status.setForeground(Color.red);
        add(status);
    }
    
    public void setStatus(String text){
        status.setText(text);
        status.setForeground(Color.red);
    }
    
    public void setStatusInfo(String text){
        status.setText(text);
        status.setForeground(Color.blue);
    }
}
